#ifndef __EGLCONTEXT_H__
#define __EGLCONTEXT_H__

#include <EGL\egl.h>
#include "fwDefine.h"
#include "..\fwLog.h"

class ESContext
{
public:
	EGLNativeWindowType _eglHWND;
	EGLContext _eglContext;
	EGLDisplay _eglDisplay;
	EGLSurface _eglSurface;
public:
	ESContext();
	~ESContext();

	/**
	* Khoi tao moi truong ao de chay OpenGLES tren moi truong windows
	* @params: attrs: Danh sash cac thuoc tinh va co
	*/
	EGLBoolean CreateESContext(EGLint attrs[]);
};

#endif